using System;

namespace FourRoads.Links.Controls
{
	public class SectionActions : ResLinkBaseTemplatedWebControl
	{
		public SectionActions()
		{

		}

		protected override void AttachChildControls()
		{

		}

		protected override void OnPreRender(EventArgs e)
		{
			if (ThisSection.SectionID <= 0)
				this.Visible = false;

			base.OnPreRender (e);
		}

	}
	/// <summary>
	/// This control is just a placeholder
	/// </summary>
	public class ResLinkNoLinks : ResLinkBaseTemplatedWebControl
	{
		public ResLinkNoLinks()
		{

		}

		protected override void AttachChildControls()
		{
			//Nothing to see here
		}
	}
}
